package com.dobbinsoft.iotechn.user.api.biz;

import com.dobbinsoft.iotechn.core.exception.ServiceException;
import com.dobbinsoft.iotechn.core.model.UserSession;
import com.dobbinsoft.iotechn.user.domain.UserDO;

import java.util.List;
import java.util.Set;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: rize
 * Date: 2020/3/17
 * Time: 15:47
 */
public interface UserBizService {

    public String getWxMiniAccessToken() throws Exception;

    public UserSession getUserSessionByAccessToken(String accessToken);

    public UserDO getUserById(Long userId) throws ServiceException;

    public List<UserDO> getUsersNicknameAndAvatar(List<Long> userIds);

    public Set<String> getUserSessionSetById(Long userId);

}
